home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <title>MyServer Documentation - Remote Control - www.myserverproject.net</title>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
- <link rel="stylesheet" type="text/css" href="../style/myserver.css" />
- </head>
- <body>
- <table class="center" width="95%">
- <tr>
- <td class="center">
- <h1 class="title">REMOTE CONTROL</h1>
- MyServer allows you to manage its configuration remotely, via your
- Control Center application, from anywhere in the world. You just need
- to enable the Control
- Protocol.<br />
- <br />
- For this, you have to add a virtual host that will use the Control
- Protocol. You can do this modifying the virtualhosts.xml file, so it
- looks like this:<br />
- <br />
- <p class="code"><VHOST> <br />
- <NAME>Every control connection</NAME> <br />
- <PORT>270</PORT> <br />
- <SSL_PRIVATEKEY>certificates/server.key</SSL_PRIVATEKEY>
- <br />
- <SSL_CERTIFICATE>certificates/server.pem</SSL_CERTIFICATE >
- <br />
- <PROTOCOL>CONTROL</PROTOCOL> <br />
- <DOCROOT></DOCROOT> <br />
- <SYSFOLDER></SYSFOLDER> <br />
- <ACCESSLOG>logs/control.log</ACCESSLOG> <br />
- <WARNINGLOG>logs/control.err</WARNINGLOG> <br />
- </VHOST> </p>
- <p>The line <span class="code"><PORT>270</PORT></span>
- describes the port to be used for the access to the Remote Control. In
- the above example, you could access your webserver's Remote Control via
- the GUI connecting to localhost on port 270</p>
- <p>Please note that certificates/server.key and certificates/server.pem
- need to be created before use them. Refer to how create SSL keys for
- more information about. <br />
- </p>
- <p>You also need to modify myserver.xml to set a password for the
- administration, adding the following lines:<br />
- <br />
- <span class="code"><CONTROL_ENABLED>YES</CONTROL_ENABLED>
- <br />
- <CONTROL_ADMIN>ADMIN</CONTROL_ADMIN> <br />
- <CONTROL_PASSWORD>PASSWORD</CONTROL_PASSWORD> <br />
- </span></p>
- <p>Just change the value of ADMIN and PASSWORD to fit your admin's
- username and password, and remember to use YES in the CONTROL_ENABLED
- parameter (otherwise, you will not be able to use the Remote Control
- center.)<br />
- </p>
- <p>Also define a name and a password for the administrator, better if
- you don't use simple words like admin or password.</p>
- </td>
- </tr>
- </table>
- </body>
- </html>